package com.ruoyi.buy.domain.entity.PO;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 编号服务对象 sys_number
 * 
 * @author ruoyi
 * @date 2023-12-14
 */
public class SysNumber extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 序列号 */
    @Excel(name = "序列号")
    private Long indexNo;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 日期 */
    @Excel(name = "日期")
    private String date;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIndexNo(Long indexNo) 
    {
        this.indexNo = indexNo;
    }

    public Long getIndexNo() 
    {
        return indexNo;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setDate(String date) 
    {
        this.date = date;
    }

    public String getDate() 
    {
        return date;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("indexNo", getIndexNo())
            .append("type", getType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("date", getDate())
            .toString();
    }
}
